home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-03-30 | 605 b | 32 lines |
- CC = cgcc
- CFLAGS = -O -mshort -I../h -Wall $(XFLAGS)
-
- SRCS= endian.c getopt.c glob.c monocase.c strdup.c swap.c
- # gcc users: do not use getopt.o from here, use lib
- OBJS= endian.o glob.o monocase.o strdup.o swap.o
- ALL= tools16
-
- all: $(ALL)
-
- $(ALL): $(OBJS)
- touch $(ALL)
-
- clean:
- rm -f core *.o [,@#]*
-
- realclean: clean
- rm -f lib.a tags *.[A-Z] $(ALL)
-
- # End Rules
- endian.o: endian.c
- endian.o: ../h/endian.h
- getopt.o: getopt.c
- getopt.o: ../h/configure.h
- glob.o: glob.c
- monocase.o: monocase.c
- strdup.o: strdup.c
- strdup.o: ../h/tools.h
- strdup.o: ../h/configure.h
- strdup.o: ../h/l_defs.h
- swap.o: swap.c
-